package com.cmc.cloud.cmclink.doc.api.document.rep;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 整船禁接的船舶维护 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 *
 * @author codegen
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class VesselOffHireMaintenanceRespDto {


    @Schema(description = "主键")
    private Long id;

    @Schema(description = "船舶代码")
    private String vesselCode;

    @Schema(description = "开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date beginDate;

    @Schema(description = "结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endDate;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "船舶英文名")
    private String vesselNameEn;

    @Schema(description = "船舶中文名")
    private String vesselNameCn;


}
